package com.travel.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (TbUser)实体类
 *
 * @author makejava
 * @since 2023-11-04 09:40:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbUser {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    
    private String userName;
    
    private String userPass;
    
    private String userMail;
    
    private String userTel;
    
    private Integer userType;

    /**
     * 手机验证码 不与表形成映射关系
     */
    @TableField(exist = false)
    private String userPCode;

    /**
     * 邮箱验证码 不与表形成映射关系
     */
    @TableField(exist = false)
    private String userMCode;

}
